Next: 5.1.7 Interfacing SDCDB with Up: 5.1 Debugging with SDCDB Previous: 5.1.5 SDCDB Debugger Commands Contents Index

## 5.1.6 Interfacing SDCDB with DDD

The portable network graphics File `http://sdcc.svn.sourceforge.net/viewvc/*checkout*/sdcc/trunk/sdcc/doc/figures/ddd_example.png` shows a screenshot of a debugging session with DDD (Unix only) on a simulated 8032. The debugging session might not run as smoothly as the screenshot suggests. The debugger allows setting of breakpoints, displaying and changing variables, single stepping through C and assembler code.
The source was compiled with
sdcc --debug ddd_example.c
and DDD was invoked with
ddd -debugger sdcdb -cpu 8032 ddd_example